package cn.itcast.dewu.service;

import cn.itcast.dewu.dto.Result;
import cn.itcast.dewu.pojo.Goods;
import cn.itcast.dewu.pojo.GoodsOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author Administrator
* @description 针对表【tb_goods_order】的数据库操作Service
* @createDate 2022-04-29 14:06:30
*/
public interface GoodsOrderService extends IService<GoodsOrder> {

    Result buyGoods(Long goodsId);

    Result buySpecialGoods(Long goodsId);

    Result saveGoodToCart(Long goodsId);

    Result lookCart();

    Result removeCart(Map<String, Long> map);
}
